<template>
    <div class="main-header">
        <span v-if="isCHI" style="margin-left: 50px;"> {{ title }} </span>
        <span v-if="!isCHI" style="margin-left: 10px;"> {{ title }} </span>
    </div>
</template>
<style>
.main-header {
    top: 0px;
    width: 100%;
    float: left;
    background-color: #fff;
    display: flex;
    justify-content: flex-start;

    align-items: center;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, .12);*/
}


.main-header span {
    height: 80px;
    line-height: 100px;
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    color: #333;
    letter-spacing: 1px;
}
</style>
<script>
export default {
    data() {
        return {

        }
    },
    props: {
        title: String,
        isCHI: Boolean
    }
}
</script>